
cd "C:\Users\sertsios\Dropbox\LPSU replication package RFS\Replication\Log files\Main Tables"
clear
log using Description_and_Table1.txt, text replace
****


clear
cd "C:\Users\sertsios\Dropbox\LPSU replication package RFS\Data"
use LPSU_MainSample_Sep2024, replace

cd "C:\Users\sertsios\Dropbox\LPSU replication package RFS\Tables"


**Describing the sample
bysort ipo: distinct id

describe


***


**Table 1

tabstat ipo post IPO  wroa assets_MM sales_MM sales_empl_w sales_at_w cash_ratio_w ///
 age_w subs internl sic_q_w sales_gr_w pyramid_pre_ipo  ///
 nr_patent_new_w dum_pat lag30 pos_returns, ///
 statistics( mean p10 p25 p50 p75 p90 sd count ) columns(statistics) save
 mat tab2= r(StatTotal)'
frmttable using table1_sumstat.doc, statmat(tab2)  sdec(2,2,2,2,2,2,2,0) varlabels replace  ctitle("","Mean", "P10" , "P25", "P50", "P75", "P90", "SD", "Total")

cd "C:\Users\sertsios\Dropbox\LPSU replication package RFS\Replication\Log files\Main Tables"
log close
